Closed (fixed)
Project:
Embedded Media Field
Version:
6.x-2.4
Component:
Embedded Video Field
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 May 2009 at 22:48 UTC
Updated:
21 Mar 2011 at 11:07 UTC
When an image like http://picasaweb.google.com/lh/photo/oVr_uf6LoEhUWOMOujA_lQ?feat=directlink (the direct link provided by Picasa) is inserted in the emfield image module the message "You have specified an invalid media URL or embed" shows up.
I use the latest version of emfield 6x-1.0
Comments
Comment #1
weblinq commentedAnyone?
Comment #2
NicolaRankin commentedI am having the same problem, but on emfield 6x-1.2
From the Picasa page, I have tried both the URL and the embed image options and also with or without the "Hide Album Link" selected. Either way, when I paste the link or embed code into my embedded image field on my drupal site, I get "You have specified an invalid media URL or embed code."
I have no trouble with PhotoBucket, Flickr or ImageShack, just Picasa.
Are you still having this problem? Be interested in how you have solved it if you have!
Thanks
Comment #3
robloachConfirmed that the Picasa provider support is a big dodgy.
Comment #4
fumbling commentedSubscribing. Same result as NicolaRankin, Couldn't find any URL/embed snippet that didn't produce the "You have specified an invalid media URL or embed" Otherwise great module, appreciate all the thought put into this.
Comment #5
HiFiGuy36 commentedI can confirm this, too. 6.x-1.2
Subscribing
Comment #6
glen201 commentedI can confirm that I, too am a bit dodgy.
Someone in the know mind telling us how to dodge this dodginess? Let's work from here: this is what I get from Picasa
Now, what do I trim?
Comment #7
glen201 commentedComment #8
glen201 commentedBUMP! New release today, no fix?
Comment #9
amir simantov commentedHappens for Flickr now.
It did not work for a slideshow so I have updated to 6.x-1.4 and now I also 2 error: the said one ant this error:
"There were problems encountered while processing this image."
The link that I am trying to embed is:
http://www.flickr.com/photos/37763940@N03/show/
Links for separate images also get this new error. Links like this:
http://www.flickr.com/photos/37763940@N03/3475600872/
What is the solution? Thanks.
Comment #10
bergco commentedSubscribing (Picasa problem)
Comment #11
VenDG commentedSubscribing. Flickr does not work. Haven't tried the others.
Comment #12
aaron commented@Amir Simantov | @VenDG: please don't hijack this issue. It's specifically for the Picasa problem. For Flickr, the first link is a slideshow: try using Media: Flickr for that. Create an issue for the other if you can't find one already.
Comment #13
aaron commentedSo it looks like Picasa has changed their URL structure, so we no longer get the User ID as we used to, which is required to access their API. Will have to look more into the problem, hopefully tomorrow.
Comment #14
aaron commentedi've tightened the regex a bit for picasa. for now, it looks like their API doesn't support the URL structure offered by http://picasaweb.google.com/lh/photo/oVr_uf6LoEhUWOMOujA_lQ?feat=directlink, so i've created a message on validation to deal with it. that's the best we can do till google opens up their api a little more, or supports oembed.
Comment #15
aaron commentednot really fixed; marking as won't fix for now.
Comment #16
kobnim commentedI have been having the same problem with the 6.x-1.4 version, as described by Amir (#9) above. When I try to embed either a flickr photo or flickr slideshow, I get the error message "You have specified an invalid media URL or embed".
I just tried upgrading to 6.x-1.7, and that seems to fix the problem with individual flickr photos. For example, the individual photo link in Amir's post now works for me:
http://www.flickr.com/photos/37763940@N03/3475600872/
However, I am still unable to embed flickr slideshows. For example, the slideshow link in Amir's post, http://www.flickr.com/photos/37763940@N03/show/, gives the old error message "You have specified an invalid media URL or embed".
Please, is there anything you can suggest?
Thanks very much.
Comment #17
rajesh.sharma1 commentedThis dear I am facing his problem while I am going to upload
video in my content its giving me this error
You have specified an invalid media URL or embed code.
Comment #18
kobnim commented@rajesh
I was having the same problem a year ago (see post #16 above). But since upgrading to the current version of emfield (6.x-2.3), it works fine for me. So if you are not using 6.x-2.3, I recommend upgrading.
Comment #19
mogop commentedSame here
Comment #20
CUSITE commentedi am using 2.4 now but it is giving me this problem, is it me or now 2.4 has the problem?
Comment #21
chadhester commentedSame issue with version 6.x-2.4 when trying to use http://www.youtube.com/watch?v=Sghfgi0s07s&feature=player_embedded
This worked with version 2.3, but now when editing the node, I get the error:
You have specified an invalid media URL or embed code
I'll try to look into the diff for the two versions to see if anything stands out... but in the meantime I'm chipping in to say I'm in the same boat.
Comment #22
chadhester commentedOn first glance, I didn't see any differences between 2.3 and 2.4 for the emvideo that would cause this... I'm assuming now that I might have upgraded from a version earlier than 2.3.
Comment #23
vip_sa commentedI am getting the same problem trying to embed a youtube video
Comment #24
kevinwalsh commentedYouTube has changed their default embed code to HTML5 video friendly iFrames, as opposed to flash.
For now, you have to use the "old embed code" on vimeo and youtube, or the URL.
Comment #25
aaron commented@kobnim: for flickr photosets, you need to use the flickr photosets provider for embedded video field, which is packaged with Media: Flickr.
@everyone-else: the youtube issue is mostly likely a duplicate of #884464-18: Support for HTML 5-compatible YouTube embed, and belongs in the media: youtube queue.
in the future, if you're having another issue, please don't open a year-old closed issue, and instead open a new issue clearly describing your problems (including the provider and any url's you're testing against). and please open it in the actual provider module's queue, unless the problem seems to be across the board.
thanks!
Comment #26
vip_sa commented@kevinwalsh Where do I find the 'old embed code' please?
@aaron apologies for this
Comment #27
vipin.mittal18This issue has been resolved.
You need to install one more module to your system to make an effective.
Like if you wish to embed youtube videos then you need to install "media yoputube" modules.
The link is given below:
http://drupal.org/project/media_youtube